package day05.shuzu;

public class Lian08 {
    public static void main(String[] args) {
        int jc = jc(5);
        System.out.println(jc);
    }
    public static int jc(int a){
        if (a==1){
            return 1;
        }else {
         return    a*jc(a-1);
        }
    }
}
